import request from '@/utils/request'
import qs from 'qs'

// get
export function getFormList (data) {
  return request({
    url: '/online/form/dev/head/list',
    method: 'get',
    params: data
  })
}

// post
export function deleteForm (data) {
  return request({
    url: '/online/form/dev/head/delete',
    method: 'post',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
    },
    data: qs.stringify(data)
  })
}
